/***********************************************************************
 * Copyright CSAir.
 * All rights reserved. 
 *
 * HISTORY
 ***********************************************************************
 *  ID      DATE                PERSON            REASON
 *  1		2009-10-07			叶志明			创建文件
 ************************************************************************
 * 
 */
package com.redhat.redwork.widget.dropdown;

import java.util.Map;

/**
 * data model interface provide data for dropdown
 * 
 * @author 叶志明
 * 
 */
public interface DropdownDataModel {

	/**
	 * 
	 * @param parentValue
	 *            selected value of parent dropdown
	 * @param params
	 *            other custom parameters
	 * @return the dropdown data
	 */
	Map<String, String> loadData(String parentValue, Map<String, String> params);
}
